package com.immunology.bean;

import java.util.List;
import java.util.Map;

import com.immunology.model.ComplaintType;
import com.immunology.service.ComplaintTypeService;

public class ComplaintTypeBean {

	public Map<String, List<ComplaintType>> getComplaintTypeList() {
		ComplaintTypeService complaintTypeService = ComplaintTypeService
				.getInstance();
		return complaintTypeService.getComplaintTypeList();
	}

	public List<ComplaintType> getComplaintTypeListBySyndromeId(int syndromeId) {
		ComplaintTypeService complaintTypeService = ComplaintTypeService
				.getInstance();
		return complaintTypeService
				.getComplaintTypeListBySyndromeId(syndromeId);
	}

	public ComplaintType getComplaintTypeById(int complaintTypeId) {
		ComplaintTypeService complaintTypeService = ComplaintTypeService
				.getInstance();
		return complaintTypeService.getComplaintTypeById(complaintTypeId);
	}

}
